<?php
class Markers extends Doctrine_Record {
    public function setTableDefinition() {
        $this->setTableName('markers');
        $this->hasColumn('nombre','string',255);
        $this->hasColumn('lat','float',10);
        $this->hasColumn('lng','float',10);
        $this->hasColumn('tipo','string',30);
        $this->hasColumn('comentario','string',255);
        $this->hasColumn('categories','integer',2);
        $this->hasColumn('calle','string',255);
        $this->hasColumn('direccion','integer',11);
        $this->hasColumn('mail','string',80);
        $this->hasColumn('provincia','string',80);
        $this->hasColumn('comuna','string',80);
        $this->hasColumn('telefono','string',80);
        $this->hasColumn('web','string',80);
        $this->hasColumn('cp','integer',11);
        $this->hasColumn('horarios','string',80);
    }
}
?>